﻿using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.Application.Core.Actor
{
    public class UserAppRole 
    {
        [ForeignKey("AppRoleId")]
        public virtual AppRole AppRole{ get; set; }
        [Key, Column(Order=0)]
        public Guid AppRoleId { get; set; }

        //[ForeignKey("UserId")]
        //public ApplicationUser User { get; set; }
        //[Key, Column(Order=1)]
        //public string UserId { get; set; }
    }
}
